<?php

class Sitemap extends MY_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->service('Service_sitemap');
    }

    /**
     * 生成sitemap文件
     */
    public function index()
    {
        $this->Service_sitemap->make();
    }

    /**
     * 生成死链文件
     */
    public function make404()
    {
        $this->Service_sitemap->make404();
    }

}
